package OOday05;

public class EnumTest {
    public static void main(String[] args) {
        Seasons [] ss = Seasons.values();
        for (Seasons x:ss){
            switch (x){
                case SPRING:
                    System.out.println("春");
                    break;
                case SUMMER:
                    System.out.println("夏");
                    break;
                case AUTUMN:
                    System.out.println("秋");
                    break;
                case WINTER:
                    System.out.println("冬");
            }

        }


    }
}
